import request from '@/utils/request'
import { encryptionData } from '@/utils/com'

/* 获取待处理订单处理信息 */
export function getMassage(data) {
  return request({
    url: '/jcdOrder/sysMessage/findMsgCount',
    method: 'get',
    headers: encryptionData(data, '/sysMessage/findMsgCount'),
    params: data
  })
}

/* 获取待处理订单处理信息 */
export function getAuditMassage(data) {
  return request({
    url: '/jcdGys/workbench/getAuditCount',
    method: 'get',
    headers: encryptionData(data, '/workbench/getAuditCount'),
    params: data
  })
}

/* 设置订单不再提醒 */
export function setNoMoreMassage(data) {
  return request({
    url: '/jcdGys/setNoMoreMassage',
    method: 'post',
    headers: encryptionData(data, '/setNoMoreMassage'),
    data
  })
}
